import {
  validatePresence,
  validateLength,
  validateConfirmation,
  validateFormat
} from 'ember-changeset-validations/validators';

export default {
  name: [
    validatePresence({ presence: true, message: '项目名称不能为空' }),
    validateLength({ min: 2 , message: '项目名称不能少于2个字' })
  ],

};
